package top.infopub.model.bpa;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class BudgetContractExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BudgetContractExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.isEmpty()) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        return new Criteria();
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return !criteria.isEmpty();
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value) {
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2) {
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSguidIsNull() {
            addCriterion("SGUID is null");
            return (Criteria) this;
        }

        public Criteria andSguidIsNotNull() {
            addCriterion("SGUID is not null");
            return (Criteria) this;
        }

        public Criteria andSguidEqualTo(String value) {
            addCriterion("SGUID =", value);
            return (Criteria) this;
        }

        public Criteria andSguidNotEqualTo(String value) {
            addCriterion("SGUID <>", value);
            return (Criteria) this;
        }

        public Criteria andSguidGreaterThan(String value) {
            addCriterion("SGUID >", value);
            return (Criteria) this;
        }

        public Criteria andSguidGreaterThanOrEqualTo(String value) {
            addCriterion("SGUID >=", value);
            return (Criteria) this;
        }

        public Criteria andSguidLessThan(String value) {
            addCriterion("SGUID <", value);
            return (Criteria) this;
        }

        public Criteria andSguidLessThanOrEqualTo(String value) {
            addCriterion("SGUID <=", value);
            return (Criteria) this;
        }

        public Criteria andSguidLike(String value) {
            addCriterion("SGUID like", value);
            return (Criteria) this;
        }

        public Criteria andSguidNotLike(String value) {
            addCriterion("SGUID not like", value);
            return (Criteria) this;
        }

        public Criteria andSguidIn(List<String> values) {
            addCriterion("SGUID in", values);
            return (Criteria) this;
        }

        public Criteria andSguidNotIn(List<String> values) {
            addCriterion("SGUID not in", values);
            return (Criteria) this;
        }

        public Criteria andSguidBetween(String value1, String value2) {
            addCriterion("SGUID between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andSguidNotBetween(String value1, String value2) {
            addCriterion("SGUID not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andItemNameIsNull() {
            addCriterion("ITEM_NAME is null");
            return (Criteria) this;
        }

        public Criteria andItemNameIsNotNull() {
            addCriterion("ITEM_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andItemNameEqualTo(String value) {
            addCriterion("ITEM_NAME =", value);
            return (Criteria) this;
        }

        public Criteria andItemNameNotEqualTo(String value) {
            addCriterion("ITEM_NAME <>", value);
            return (Criteria) this;
        }

        public Criteria andItemNameGreaterThan(String value) {
            addCriterion("ITEM_NAME >", value);
            return (Criteria) this;
        }

        public Criteria andItemNameGreaterThanOrEqualTo(String value) {
            addCriterion("ITEM_NAME >=", value);
            return (Criteria) this;
        }

        public Criteria andItemNameLessThan(String value) {
            addCriterion("ITEM_NAME <", value);
            return (Criteria) this;
        }

        public Criteria andItemNameLessThanOrEqualTo(String value) {
            addCriterion("ITEM_NAME <=", value);
            return (Criteria) this;
        }

        public Criteria andItemNameLike(String value) {
            addCriterion("ITEM_NAME like", value);
            return (Criteria) this;
        }

        public Criteria andItemNameNotLike(String value) {
            addCriterion("ITEM_NAME not like", value);
            return (Criteria) this;
        }

        public Criteria andItemNameIn(List<String> values) {
            addCriterion("ITEM_NAME in", values);
            return (Criteria) this;
        }

        public Criteria andItemNameNotIn(List<String> values) {
            addCriterion("ITEM_NAME not in", values);
            return (Criteria) this;
        }

        public Criteria andItemNameBetween(String value1, String value2) {
            addCriterion("ITEM_NAME between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andItemNameNotBetween(String value1, String value2) {
            addCriterion("ITEM_NAME not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andCostTypeIsNull() {
            addCriterion("COST_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andCostTypeIsNotNull() {
            addCriterion("COST_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andCostTypeEqualTo(String value) {
            addCriterion("COST_TYPE =", value);
            return (Criteria) this;
        }

        public Criteria andCostTypeNotEqualTo(String value) {
            addCriterion("COST_TYPE <>", value);
            return (Criteria) this;
        }

        public Criteria andCostTypeGreaterThan(String value) {
            addCriterion("COST_TYPE >", value);
            return (Criteria) this;
        }

        public Criteria andCostTypeGreaterThanOrEqualTo(String value) {
            addCriterion("COST_TYPE >=", value);
            return (Criteria) this;
        }

        public Criteria andCostTypeLessThan(String value) {
            addCriterion("COST_TYPE <", value);
            return (Criteria) this;
        }

        public Criteria andCostTypeLessThanOrEqualTo(String value) {
            addCriterion("COST_TYPE <=", value);
            return (Criteria) this;
        }

        public Criteria andCostTypeLike(String value) {
            addCriterion("COST_TYPE like", value);
            return (Criteria) this;
        }

        public Criteria andCostTypeNotLike(String value) {
            addCriterion("COST_TYPE not like", value);
            return (Criteria) this;
        }

        public Criteria andCostTypeIn(List<String> values) {
            addCriterion("COST_TYPE in", values);
            return (Criteria) this;
        }

        public Criteria andCostTypeNotIn(List<String> values) {
            addCriterion("COST_TYPE not in", values);
            return (Criteria) this;
        }

        public Criteria andCostTypeBetween(String value1, String value2) {
            addCriterion("COST_TYPE between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andCostTypeNotBetween(String value1, String value2) {
            addCriterion("COST_TYPE not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andExternalBeginAmountIsNull() {
            addCriterion("EXTERNAL_BEGIN_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andExternalBeginAmountIsNotNull() {
            addCriterion("EXTERNAL_BEGIN_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andExternalBeginAmountEqualTo(BigDecimal value) {
            addCriterion("EXTERNAL_BEGIN_AMOUNT =", value);
            return (Criteria) this;
        }

        public Criteria andExternalBeginAmountNotEqualTo(BigDecimal value) {
            addCriterion("EXTERNAL_BEGIN_AMOUNT <>", value);
            return (Criteria) this;
        }

        public Criteria andExternalBeginAmountGreaterThan(BigDecimal value) {
            addCriterion("EXTERNAL_BEGIN_AMOUNT >", value);
            return (Criteria) this;
        }

        public Criteria andExternalBeginAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("EXTERNAL_BEGIN_AMOUNT >=", value);
            return (Criteria) this;
        }

        public Criteria andExternalBeginAmountLessThan(BigDecimal value) {
            addCriterion("EXTERNAL_BEGIN_AMOUNT <", value);
            return (Criteria) this;
        }

        public Criteria andExternalBeginAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("EXTERNAL_BEGIN_AMOUNT <=", value);
            return (Criteria) this;
        }

        public Criteria andExternalBeginAmountIn(List<BigDecimal> values) {
            addCriterion("EXTERNAL_BEGIN_AMOUNT in", values);
            return (Criteria) this;
        }

        public Criteria andExternalBeginAmountNotIn(List<BigDecimal> values) {
            addCriterion("EXTERNAL_BEGIN_AMOUNT not in", values);
            return (Criteria) this;
        }

        public Criteria andExternalBeginAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("EXTERNAL_BEGIN_AMOUNT between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andExternalBeginAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("EXTERNAL_BEGIN_AMOUNT not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andExternalFloatIsNull() {
            addCriterion("EXTERNAL_FLOAT is null");
            return (Criteria) this;
        }

        public Criteria andExternalFloatIsNotNull() {
            addCriterion("EXTERNAL_FLOAT is not null");
            return (Criteria) this;
        }

        public Criteria andExternalFloatEqualTo(BigDecimal value) {
            addCriterion("EXTERNAL_FLOAT =", value);
            return (Criteria) this;
        }

        public Criteria andExternalFloatNotEqualTo(BigDecimal value) {
            addCriterion("EXTERNAL_FLOAT <>", value);
            return (Criteria) this;
        }

        public Criteria andExternalFloatGreaterThan(BigDecimal value) {
            addCriterion("EXTERNAL_FLOAT >", value);
            return (Criteria) this;
        }

        public Criteria andExternalFloatGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("EXTERNAL_FLOAT >=", value);
            return (Criteria) this;
        }

        public Criteria andExternalFloatLessThan(BigDecimal value) {
            addCriterion("EXTERNAL_FLOAT <", value);
            return (Criteria) this;
        }

        public Criteria andExternalFloatLessThanOrEqualTo(BigDecimal value) {
            addCriterion("EXTERNAL_FLOAT <=", value);
            return (Criteria) this;
        }

        public Criteria andExternalFloatIn(List<BigDecimal> values) {
            addCriterion("EXTERNAL_FLOAT in", values);
            return (Criteria) this;
        }

        public Criteria andExternalFloatNotIn(List<BigDecimal> values) {
            addCriterion("EXTERNAL_FLOAT not in", values);
            return (Criteria) this;
        }

        public Criteria andExternalFloatBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("EXTERNAL_FLOAT between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andExternalFloatNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("EXTERNAL_FLOAT not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andExternalAfterAmountIsNull() {
            addCriterion("EXTERNAL_AFTER_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andExternalAfterAmountIsNotNull() {
            addCriterion("EXTERNAL_AFTER_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andExternalAfterAmountEqualTo(BigDecimal value) {
            addCriterion("EXTERNAL_AFTER_AMOUNT =", value);
            return (Criteria) this;
        }

        public Criteria andExternalAfterAmountNotEqualTo(BigDecimal value) {
            addCriterion("EXTERNAL_AFTER_AMOUNT <>", value);
            return (Criteria) this;
        }

        public Criteria andExternalAfterAmountGreaterThan(BigDecimal value) {
            addCriterion("EXTERNAL_AFTER_AMOUNT >", value);
            return (Criteria) this;
        }

        public Criteria andExternalAfterAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("EXTERNAL_AFTER_AMOUNT >=", value);
            return (Criteria) this;
        }

        public Criteria andExternalAfterAmountLessThan(BigDecimal value) {
            addCriterion("EXTERNAL_AFTER_AMOUNT <", value);
            return (Criteria) this;
        }

        public Criteria andExternalAfterAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("EXTERNAL_AFTER_AMOUNT <=", value);
            return (Criteria) this;
        }

        public Criteria andExternalAfterAmountIn(List<BigDecimal> values) {
            addCriterion("EXTERNAL_AFTER_AMOUNT in", values);
            return (Criteria) this;
        }

        public Criteria andExternalAfterAmountNotIn(List<BigDecimal> values) {
            addCriterion("EXTERNAL_AFTER_AMOUNT not in", values);
            return (Criteria) this;
        }

        public Criteria andExternalAfterAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("EXTERNAL_AFTER_AMOUNT between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andExternalAfterAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("EXTERNAL_AFTER_AMOUNT not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andInternalFloatIsNull() {
            addCriterion("INTERNAL_FLOAT is null");
            return (Criteria) this;
        }

        public Criteria andInternalFloatIsNotNull() {
            addCriterion("INTERNAL_FLOAT is not null");
            return (Criteria) this;
        }

        public Criteria andInternalFloatEqualTo(BigDecimal value) {
            addCriterion("INTERNAL_FLOAT =", value);
            return (Criteria) this;
        }

        public Criteria andInternalFloatNotEqualTo(BigDecimal value) {
            addCriterion("INTERNAL_FLOAT <>", value);
            return (Criteria) this;
        }

        public Criteria andInternalFloatGreaterThan(BigDecimal value) {
            addCriterion("INTERNAL_FLOAT >", value);
            return (Criteria) this;
        }

        public Criteria andInternalFloatGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("INTERNAL_FLOAT >=", value);
            return (Criteria) this;
        }

        public Criteria andInternalFloatLessThan(BigDecimal value) {
            addCriterion("INTERNAL_FLOAT <", value);
            return (Criteria) this;
        }

        public Criteria andInternalFloatLessThanOrEqualTo(BigDecimal value) {
            addCriterion("INTERNAL_FLOAT <=", value);
            return (Criteria) this;
        }

        public Criteria andInternalFloatIn(List<BigDecimal> values) {
            addCriterion("INTERNAL_FLOAT in", values);
            return (Criteria) this;
        }

        public Criteria andInternalFloatNotIn(List<BigDecimal> values) {
            addCriterion("INTERNAL_FLOAT not in", values);
            return (Criteria) this;
        }

        public Criteria andInternalFloatBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("INTERNAL_FLOAT between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andInternalFloatNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("INTERNAL_FLOAT not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andSeqIsNull() {
            addCriterion("SEQ is null");
            return (Criteria) this;
        }

        public Criteria andSeqIsNotNull() {
            addCriterion("SEQ is not null");
            return (Criteria) this;
        }

        public Criteria andSeqEqualTo(Short value) {
            addCriterion("SEQ =", value);
            return (Criteria) this;
        }

        public Criteria andSeqNotEqualTo(Short value) {
            addCriterion("SEQ <>", value);
            return (Criteria) this;
        }

        public Criteria andSeqGreaterThan(Short value) {
            addCriterion("SEQ >", value);
            return (Criteria) this;
        }

        public Criteria andSeqGreaterThanOrEqualTo(Short value) {
            addCriterion("SEQ >=", value);
            return (Criteria) this;
        }

        public Criteria andSeqLessThan(Short value) {
            addCriterion("SEQ <", value);
            return (Criteria) this;
        }

        public Criteria andSeqLessThanOrEqualTo(Short value) {
            addCriterion("SEQ <=", value);
            return (Criteria) this;
        }

        public Criteria andSeqIn(List<Short> values) {
            addCriterion("SEQ in", values);
            return (Criteria) this;
        }

        public Criteria andSeqNotIn(List<Short> values) {
            addCriterion("SEQ not in", values);
            return (Criteria) this;
        }

        public Criteria andSeqBetween(Short value1, Short value2) {
            addCriterion("SEQ between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andSeqNotBetween(Short value1, Short value2) {
            addCriterion("SEQ not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("TYPE is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("TYPE =", value);
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("TYPE <>", value);
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("TYPE >", value);
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("TYPE >=", value);
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("TYPE <", value);
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("TYPE <=", value);
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("TYPE like", value);
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("TYPE not like", value);
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("TYPE in", values);
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("TYPE not in", values);
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("TYPE between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("TYPE not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andItemTypeIsNull() {
            addCriterion("ITEM_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andItemTypeIsNotNull() {
            addCriterion("ITEM_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andItemTypeEqualTo(String value) {
            addCriterion("ITEM_TYPE =", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeNotEqualTo(String value) {
            addCriterion("ITEM_TYPE <>", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeGreaterThan(String value) {
            addCriterion("ITEM_TYPE >", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeGreaterThanOrEqualTo(String value) {
            addCriterion("ITEM_TYPE >=", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeLessThan(String value) {
            addCriterion("ITEM_TYPE <", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeLessThanOrEqualTo(String value) {
            addCriterion("ITEM_TYPE <=", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeLike(String value) {
            addCriterion("ITEM_TYPE like", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeNotLike(String value) {
            addCriterion("ITEM_TYPE not like", value);
            return (Criteria) this;
        }

        public Criteria andItemTypeIn(List<String> values) {
            addCriterion("ITEM_TYPE in", values);
            return (Criteria) this;
        }

        public Criteria andItemTypeNotIn(List<String> values) {
            addCriterion("ITEM_TYPE not in", values);
            return (Criteria) this;
        }

        public Criteria andItemTypeBetween(String value1, String value2) {
            addCriterion("ITEM_TYPE between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andItemTypeNotBetween(String value1, String value2) {
            addCriterion("ITEM_TYPE not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andIdxIsNull() {
            addCriterion("IDX is null");
            return (Criteria) this;
        }

        public Criteria andIdxIsNotNull() {
            addCriterion("IDX is not null");
            return (Criteria) this;
        }

        public Criteria andIdxEqualTo(String value) {
            addCriterion("IDX =", value);
            return (Criteria) this;
        }

        public Criteria andIdxNotEqualTo(String value) {
            addCriterion("IDX <>", value);
            return (Criteria) this;
        }

        public Criteria andIdxGreaterThan(String value) {
            addCriterion("IDX >", value);
            return (Criteria) this;
        }

        public Criteria andIdxGreaterThanOrEqualTo(String value) {
            addCriterion("IDX >=", value);
            return (Criteria) this;
        }

        public Criteria andIdxLessThan(String value) {
            addCriterion("IDX <", value);
            return (Criteria) this;
        }

        public Criteria andIdxLessThanOrEqualTo(String value) {
            addCriterion("IDX <=", value);
            return (Criteria) this;
        }

        public Criteria andIdxLike(String value) {
            addCriterion("IDX like", value);
            return (Criteria) this;
        }

        public Criteria andIdxNotLike(String value) {
            addCriterion("IDX not like", value);
            return (Criteria) this;
        }

        public Criteria andIdxIn(List<String> values) {
            addCriterion("IDX in", values);
            return (Criteria) this;
        }

        public Criteria andIdxNotIn(List<String> values) {
            addCriterion("IDX not in", values);
            return (Criteria) this;
        }

        public Criteria andIdxBetween(String value1, String value2) {
            addCriterion("IDX between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andIdxNotBetween(String value1, String value2) {
            addCriterion("IDX not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andIsChildIsNull() {
            addCriterion("IS_CHILD is null");
            return (Criteria) this;
        }

        public Criteria andIsChildIsNotNull() {
            addCriterion("IS_CHILD is not null");
            return (Criteria) this;
        }

        public Criteria andIsChildEqualTo(String value) {
            addCriterion("IS_CHILD =", value);
            return (Criteria) this;
        }

        public Criteria andIsChildNotEqualTo(String value) {
            addCriterion("IS_CHILD <>", value);
            return (Criteria) this;
        }

        public Criteria andIsChildGreaterThan(String value) {
            addCriterion("IS_CHILD >", value);
            return (Criteria) this;
        }

        public Criteria andIsChildGreaterThanOrEqualTo(String value) {
            addCriterion("IS_CHILD >=", value);
            return (Criteria) this;
        }

        public Criteria andIsChildLessThan(String value) {
            addCriterion("IS_CHILD <", value);
            return (Criteria) this;
        }

        public Criteria andIsChildLessThanOrEqualTo(String value) {
            addCriterion("IS_CHILD <=", value);
            return (Criteria) this;
        }

        public Criteria andIsChildLike(String value) {
            addCriterion("IS_CHILD like", value);
            return (Criteria) this;
        }

        public Criteria andIsChildNotLike(String value) {
            addCriterion("IS_CHILD not like", value);
            return (Criteria) this;
        }

        public Criteria andIsChildIn(List<String> values) {
            addCriterion("IS_CHILD in", values);
            return (Criteria) this;
        }

        public Criteria andIsChildNotIn(List<String> values) {
            addCriterion("IS_CHILD not in", values);
            return (Criteria) this;
        }

        public Criteria andIsChildBetween(String value1, String value2) {
            addCriterion("IS_CHILD between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andIsChildNotBetween(String value1, String value2) {
            addCriterion("IS_CHILD not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andContractIdIsNull() {
            addCriterion("CONTRACT_ID is null");
            return (Criteria) this;
        }

        public Criteria andContractIdIsNotNull() {
            addCriterion("CONTRACT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andContractIdEqualTo(String value) {
            addCriterion("CONTRACT_ID =", value);
            return (Criteria) this;
        }

        public Criteria andContractIdNotEqualTo(String value) {
            addCriterion("CONTRACT_ID <>", value);
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThan(String value) {
            addCriterion("CONTRACT_ID >", value);
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThanOrEqualTo(String value) {
            addCriterion("CONTRACT_ID >=", value);
            return (Criteria) this;
        }

        public Criteria andContractIdLessThan(String value) {
            addCriterion("CONTRACT_ID <", value);
            return (Criteria) this;
        }

        public Criteria andContractIdLessThanOrEqualTo(String value) {
            addCriterion("CONTRACT_ID <=", value);
            return (Criteria) this;
        }

        public Criteria andContractIdLike(String value) {
            addCriterion("CONTRACT_ID like", value);
            return (Criteria) this;
        }

        public Criteria andContractIdNotLike(String value) {
            addCriterion("CONTRACT_ID not like", value);
            return (Criteria) this;
        }

        public Criteria andContractIdIn(List<String> values) {
            addCriterion("CONTRACT_ID in", values);
            return (Criteria) this;
        }

        public Criteria andContractIdNotIn(List<String> values) {
            addCriterion("CONTRACT_ID not in", values);
            return (Criteria) this;
        }

        public Criteria andContractIdBetween(String value1, String value2) {
            addCriterion("CONTRACT_ID between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andContractIdNotBetween(String value1, String value2) {
            addCriterion("CONTRACT_ID not between", value1, value2);
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}